﻿using System;
using System.Linq;
using System.Linq.Expressions;
using System.Net.Http;
using NC.Infrastructure.DomainDto;
using domainEntity=NC.Cather.ContentParams;

namespace NC.Service.ContentParams
{
    public interface IContentParamsService:IService
    {
        domainEntity Get(int id);

        IQueryable<domainEntity> GetAll();

        IQueryable<domainEntity> Get(Expression<Func<domainEntity, bool>> filter);

        void Insert(domainEntity entity);

        void Update(domainEntity entity);

        void Delete(domainEntity entity);
        domainEntity GetContent(domainEntity entity, string testUrl, HttpMethod method);

        IQueryable<SimpleDto> SimpleDtos();
    }
}
